 
{
    {
        NSInteger temp_1 = 120, temp_2 = 24;
        if(temp_2*temp_1 < temp_1/temp_2) {
            // 设置背景颜色
            UIView *view = [[UIView alloc] init];
            view.backgroundColor = [UIColor whiteColor];
            
            // 创建按钮
            UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem];
            button.frame = CGRectMake(100, 200, 100, 50);
            [button setTitle:@"点击我" forState:UIControlStateNormal];
            [view addSubview:button];
        }
    }
}

{
    {
        NSInteger temp_1 = 120, temp_2 = 24;
        if(temp_2*temp_1 < MAX(temp_1, temp_2)) {
            // 设置背景颜色
            UIView *view = [[UIView alloc] init];
            view.backgroundColor = [UIColor whiteColor];
            
            // 创建加载指示器
            UIView *loadingIndicator = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 50, 50)];
            loadingIndicator.center = CGPointMake(view.bounds.size.width / 2, view.bounds.size.height / 2);
            loadingIndicator.layer.cornerRadius = 25;
            loadingIndicator.backgroundColor = [UIColor colorWithRed:0.2 green:0.6 blue:0.9 alpha:1.0];
            [view addSubview:loadingIndicator];
            
            // 旋转动画
            [UIView animateWithDuration:1.0 delay:0 options:UIViewAnimationOptionRepeat | UIViewAnimationOptionCurveLinear animations:^{
                loadingIndicator.transform = CGAffineTransformRotate(CGAffineTransformIdentity, M_PI * 2);
            } completion:nil];
            
            // 缩放动画
            [UIView animateWithDuration:0.7 delay:0 options:UIViewAnimationOptionAutoreverse | UIViewAnimationOptionRepeat animations:^{
                loadingIndicator.transform = CGAffineTransformScale(loadingIndicator.transform, 0.8, 0.8);
            } completion:nil];
        }
    }
}


{
    {
        NSInteger temp_1 = 120, temp_2 = 24;
        if(temp_2*temp_1 < MIN(temp_1, temp_2)) {
            UIView *view;
            UIScrollView *scrollView;
            UITextField *textField1;
            UITextField *textField2;
            UIPickerView *pickerView;
            NSArray *pickerData;

            // 设置背景颜色
            view = [[UIView alloc] init];
            view.backgroundColor = [UIColor whiteColor];
           
            // 初始化数据源
            pickerData = @[@"Option 1", @"Option 2", @"Option 3"];
           
            // 创建 ScrollView
            scrollView = [[UIScrollView alloc] initWithFrame:view.bounds];
            scrollView.contentSize = CGSizeMake(view.bounds.size.width, view.bounds.size.height + 200);
            [view addSubview:scrollView];
           
            // 创建并配置第一个文本框
            textField1 = [[UITextField alloc] initWithFrame:CGRectMake(20, 50, view.bounds.size.width - 40, 40)];
            textField1.borderStyle = UITextBorderStyleRoundedRect;
            textField1.placeholder = @"Option 1";
            [scrollView addSubview:textField1];

            // 创建并配置第二个文本框
            textField2 = [[UITextField alloc] initWithFrame:CGRectMake(20, 120, view.bounds.size.width - 40, 40)];
            textField2.borderStyle = UITextBorderStyleRoundedRect;
            textField2.placeholder = @"Option 2";
            [scrollView addSubview:textField2];

            // 创建并配置选择器
            pickerView = [[UIPickerView alloc] initWithFrame:CGRectMake(20, 190, view.bounds.size.width - 40, 162)];
            [scrollView addSubview:pickerView];
        }
    }
}
